package com.example.service;

import com.example.entity.*;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface SchemeService {

    public List<Army> RequestArmy();

    public Army RequestArmyByID(Integer army_id);

    public List<Location> RequestLocation(Location location);

    public Location RequestLocationByID(Integer location_id);

    public Integer CreateScheme();

    public boolean AddSchemeMsg(Scheme scheme);

    public String AddTask(Task task);

    public List<Environment> RequestEnvironment(Integer location_id,Integer month_time);

    public List<Category> RequestEquipment(Integer army_id);

    public boolean AddSchemeEquipment(Integer scheme_id,List<Integer> equipment_id_list);

    public String AddPlan(Plan plan);

    public String AddGroup(Group group);

    public String AddTeam(Team team);

    public List<Department> RequestDepartment();

    public String AddTeamDepartment(Team_Department list);

    public String AddTeamCategory(Team_Category list);

    public String ModifySchemeMsg(Scheme scheme);

    public String ModifyTask(Task task);

    public List<Task> RequestTask(Integer type_id,Integer type);

    public List<Plan> RequestPlan(Integer scheme_id);

    public List<Group> RequestGroup(Integer plan_id);

    public List<Team> RequestTeam(Integer group_id);

    public String DeleteTask(Integer task_id,Integer task_type);

    public String DeleteTeamDepartment(Team_Department team_department);

    public String DeleteTeamCategory(Team_Category team_category);

    public String DeleteTeam(Integer team_id);

    public String DeleteTeamList(Integer group_id);

    public String DeleteGroup(Integer group_id);

    public String DeleteGroupList(Integer plan_id);

    public String DeletePlan(Integer plan_id);

    public String DeletePlanList(Integer scheme_id);

    public String DeleteScheme(Integer scheme_id);

}
